import service from "@/utils/service.js";

// 获取商品分类列表
export const getGoodsListCateApi = (params) =>
  service.get("pro/categorylist", {params});

// 获取商品分类下的品牌列表
export const getGoodsListBrandApi = (params) =>
  service.get("pro/categorybrandlist", {params});

// 获取对应品牌下的商品列表
export const getCategoryBrandProApi = (params) =>
  service.get("pro/categorybrandprolist", {params});

// 获取商品详细信息
export const getGoodsDetailApi = (params) =>
  service.get(`pro/detail/${params}`);
